package scaladuct

import javax.xml.bind.annotation.XmlRootElement

/**
 * <p>
 * Created by IntelliJ IDEA.
 * User: zslajchrt
 * Date: Aug 18, 2010
 * Time: 5:08:17 PM
 */

@XmlRootElement(name="person")
class Person(var name: String, var surname: String, var father: Person, var mother: Person) {
  def this() = this(null, null, null, null) 
  def this(name: String, surname: String) = this(name, surname, null, null) 
}